package com.tarena.lbs.business.pojo.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.FieldType;
//import org.springframework.data.elasticsearch.annotations.Setting;


@Data
@AllArgsConstructor
@NoArgsConstructor
//@Document(indexName = "stores")
//@Setting(shards = 1, replicas = 0) // 设置索引分片数和副本数 后续优化
public class StoreSearchPO {
    //@Field(type = FieldType.Integer)
    private Integer id;
    //@Field(type = FieldType.Text)
    private String location;
    //@Field(type = FieldType.Keyword)
    private String storeName;
    //@Field(type = FieldType.Integer)
    private Integer businessId;
}

